<?php
function smarty_function_css($params, &$smarty)
{
    $file = $params['file'];
    $file = __PUBLIC__  . '/' . $file;
//	<link rel="stylesheet" href="{hd $smarty.const.__PUBLIC__}/Css/index.css" />
	
    return "<link rel='stylesheet' href='{$file}'/>";
}

?>
